// mircoApp/serviceCenter/comm/complaintTag/complaintTag.js
const skinBehavior = require("../../../../utils/themeSkin/skinBehavior");
Component({

  options: {
    addGlobalClass: true,
  },
  behaviors: [skinBehavior],
  /**
   * 组件的属性列表
   */
  properties: {
    tagList:{
      type:Array,
      value:[]
    },
    content:{
      type:String,
      value:''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    tagClick(event) {
      let {index} = event.currentTarget.dataset;
      this.triggerEvent('tagClick', {index:index})
    },
  }
})